package com.alibaba.serverless.common.domain;

import java.util.ResourceBundle;

/**
 * 阿里云 Smtp 配置
 * @author mac_zyj
 */
public class AliYunSmtpConfig {
    protected String accessKey;
    protected String secretKey;
    protected String regionId;

    public AliYunSmtpConfig() {
        initAliYunSmtpConfig();
    }

    protected void initAliYunSmtpConfig(){
        ResourceBundle resource = ResourceBundle.getBundle("conf/email");
        accessKey= resource.getString("accessKey");
        secretKey=resource.getString("secretKey");
        regionId = resource.getString("regionId");
    }
}
